import { Component, OnInit, Input } from '@angular/core';
// import test from '../../assets/img/add.png'
const a = require('../../assets/img/add.png')

@Component({
  selector: 'app-footer',
  templateUrl: './footer.component.html',
  styleUrls: ['./footer.component.less']
})
export class FooterComponent implements OnInit {
  @Input() show;

  navs = [{
    name:'服务',
    defaultIcon: require('../../assets/img/serve-default.png'),
    activeIcon: require('../../assets/img/serve-selected.png'),
    link: '/'
  },{
    name: '推荐',
    defaultIcon: require('../../assets/img/store-default.png'),
    activeIcon: require('../../assets/img/store-selected.png'),
    link: '/market'
  },{
    name: '订单',
    defaultIcon: require('../../assets/img/indent-default.png'),
    activeIcon: require('../../assets/img/indent-selected.png'),
    link: '/orderList'
  },{
    name: '我的',
    defaultIcon: require('../../assets/img/mine-default.png'),
    activeIcon: require('../../assets/img/mine-selected.png'),
    link: '/usercenter'
  }]
  constructor() { }

  ngOnInit() {
  }

}
